#include "PrecompiledHeader.h"
#include "CtrlRoot.h"

/*--------------------------------------------------------------------------*/

CtrlRoot::CtrlRoot(const std::string& name) :
	ICtrl(NULL, name)
{
	this->SetSize(g_Settings->GetResolutionf());
	this->SetPosition(glm::vec2(0.0f, 0.0f));
}

/*--------------------------------------------------------------------------*/

CtrlRoot::~CtrlRoot()
{

}

/*--------------------------------------------------------------------------*/

void CtrlRoot::Draw()
{
	this->CallChildsDraw();
}

/*--------------------------------------------------------------------------*/